<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Shop_name')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-shop_name" data-rule="required" class="form-control form-control" name="row[shop_name]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Consignor')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-consignor" data-rule="required" class="form-control form-control" name="row[consignor]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Wanwan_id')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-wanwan_id" data-rule="required" data-source="wanwan/index" class="form-control form-control" name="row[wanwan_id]" type="text" value="">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Shop_type')}:</label>
            <div class="col-xs-12 col-sm-8">
                <select class="form-control" name="row[shop_type]">
                    <option value="0">不限</option>
                    <option value="1">天猫</option>
                    <option value="2">淘宝</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Shop_cat')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-shop_cat" data-rule="required" class="form-control form-control" name="row[shop_cat]" type="text">
            </div>
        </div>

        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-mobile" data-rule="required" class="form-control form-control" name="row[mobile]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">区域:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area">
                    <select class="province form-control" name="province" data-url="ajax/area"></select>
                    <select class="city form-control" name="city" data-url="ajax/area"></select>
                    <select class="area form-control" name="area" data-url="ajax/area"></select>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
            <div class="col-xs-12 col-sm-8">
                <label class="control-label">待审核</label>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">详细地址</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-details_address" data-rule="required" class="form-control form-control" name="row[details_address]" type="text" value="">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Shop_url')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-shop_url" data-rule="required" class="form-control form-control" name="row[shop_url]" type="text">
            </div>
        </div>
        <!-- <div class="form-group">
            <label for="c-local" class="control-label col-xs-12 col-sm-2">店铺截图:</label>
            <div class="col-xs-12 col-sm-8">
                <input type="text" name="row[shop_pic]" id="c-local" data-rule="required" class="form-control" readonly="" />
            </div>
        </div>

        <div class="form-group">
            <label for="c-local" class="control-label col-xs-12 col-sm-2"></label>
            <div class="col-xs-12 col-sm-8">
                <button id="plupload-local" class="btn btn-primary plupload" data-input-id="c-local" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 上传到本地</button>
            </div>
        </div> -->
        <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('店铺截图')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-work_image" class="form-control form-control" size="50" name="row[shop_pic]" type="text" value="">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="plupload-work_image" class="btn btn-danger plupload" data-input-id="c-work_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-work_image"><i class="fa fa-upload"></i> {:__('Upload')}</NOtton></span>
                            <span><button type="button" id="fachoose-work_image" class="btn btn-primary fachoose" data-input-id="c-work_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</NOtton></span>
                        </div>
                        <span class="msg-box n-right" for="c-work_image"></span>
                    </div>
                    <ul class="row list-inline plupload-preview" id="p-work_image"></ul>
                </div>
            </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
